const flow = {
  id: { type: 'string', description: '流程模块id' },
  title: { type: 'string', description: '面试结果' },
  interviewer: { type: 'string', description: '面试官' },
  workId: { type: 'string', description: '流程id' }
}

const busi = {
  busiCode: { type: 'string', description: '业务状态' },
  msg: { type: 'string', description: '业务描述' }
}

module.exports = {
  flowRes: {
    ...busi,
    records: { type: 'array', itemType: 'flowData' }
  },
  flowData: {
    ...flow
  }
}
